﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace LaoLuo.Common.Test
{
    internal static class AssertHelper
    {
        public static void AreEqual<T>(IEnumerable<T> actual, params T[] expected)
        {
            var l = actual.ToList();

            for (int i = 0; i < l.Count; i++)
            {
                Assert.AreEqual(expected[i], l[i]);
            }
        }
    }
}
